.Net Framework > v2.0.50727 > System > Threading > WaitHandle > WaitAny WaitAny(WaitHandle[])
WaitAny(WaitHandle[],Int32,Boolean)
WaitAny(WaitHandle[],TimeSpan,Boolean)


WaitAny(WaitHandle[])

Category
Method
Description
Waits for any of the elements in the specified array to receive a signal.
Type
Int32
Character
public, static
Parameters
NameTypeDescription
waitHandlesWaitHandle[]
Attributes
NameValue/Assignment
ReliabilityContractAttributeSystem.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.MayFail
Tags
01892ABD01, 02E3ABA98D, 0376596F91

WaitAny(WaitHandle[],Int32,Boolean)

Category
Method
Description
Waits for any of the elements in the specified array to receive a signal, using a 32-bit signed integer to measure the time interval, and specifying whether to exit the synchronization domain before the wait.
Type
Int32
Character
public, static
Parameters
NameTypeDescription
waitHandlesWaitHandle[]
millisecondsTimeoutInt32
exitContextBoolean
Attributes
NameValue/Assignment
ReliabilityContractAttributeSystem.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.MayFail
Tags
01892ABD01, 02E3ABA98D, 0376596F91

WaitAny(WaitHandle[],TimeSpan,Boolean)

Category
Method
Description
Waits for any of the elements in the specified array to receive a signal, using a System.TimeSpan to measure the time interval and specifying whether to exit the synchronization domain before the wait.
Type
Int32
Character
public, static
Parameters
NameTypeDescription
waitHandlesWaitHandle[]
timeoutTimeSpan
exitContextBoolean
Attributes
NameValue/Assignment
ReliabilityContractAttributeSystem.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.MayFail
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database